//
//  Copyright 2015 XiaoJSoft Studio.
//  Copyright 2015 Harbin Institute of Technology(HIT), Software Engineering Department.
//
//  Use of this source code is governed by a proprietary license. You can not read, change or
//  redistribute this source code unless you have a written authorization from the copyright
//  holder listed above.
//

#ifndef MANIFEST_H_
#define MANIFEST_H_

#include <string>
#include <vector>

namespace ui {
namespace compiler {

class Manifest {
public:
    Manifest();
    ~Manifest();
    std::string getPreRunScript();
    std::string getPostRunScript();
    void getDependencies(std::vector<std::string> &target);
    void getSources(std::vector<std::string> &target);
    void getStylesheets(std::vector<std::string> &target);
    bool loadString(const std::string &data);
private:
    std::vector<std::string> m_Dependencies, m_Sources, m_Stylesheets;
    std::string m_PreRun, m_PostRun;
};

}  //  namespace compiler
}  //  namespace ui

#endif  //  MANIFEST_H_
